//
//  DiscoveryCollectionViewCell.m
//  Car
//
//  Created by 何晓文 on 15/9/23.
//  Copyright © 2015年 朱鸿儒. All rights reserved.
//

#import "DiscoveryCollectionViewCell.h"

@implementation DiscoveryCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {

	if (self = [super initWithFrame:frame]) {
		self.backgroundColor = [UIColor watermelonColor];
		self.item = [[UIImageView alloc]init];
		self.layer.shadowOffset = CGSizeMake(2, 2);
		self.layer.shadowOpacity = 0.7;
		self.layer.shadowColor = [UIColor black50PercentColor].CGColor;
		self.layer.cornerRadius = 4;
		[self addSubview:self.item];
	}

	return self;
}
@end
